<?php
header("Content-Type:text/html;charset=utf-8");
require '../php_func/read_xml.php';
if($_GET["info_init"]){
	$user=$_GET["user"];
	$id=$_GET["id"];
	$file="../user/$user/love.xml";
	$xml=new read_xpath($file,$id);
	$json=$xml->get_json();
	echo $json;
}
?>